package service;

import bean.pojo.ParkingRecord;

import java.util.List;

/**
 * dao
 * User: 坚持
 * Date: 2024/12/18 15:45
 * motto: 树欲静而风不止
 * Description:
 * Version: V1.0
 */
public interface ParkingRecordService {
    List<ParkingRecord> findBy(Integer page, Integer limit, Integer vehicleId, String startParkingTime, String endParkingTime);

    Long findByTotal(Integer vehicleId, String startParkingTime, String endParkingTime);

    Boolean update(ParkingRecord parkingRecord);

    Boolean deleteById(Integer parkingRecordId);

    Boolean add(ParkingRecord parkingRecord);
}
